<?php

namespace IDock\Insurance\DBIC\Response;

use IDock\Http\Response;

class LoginTokenResponse extends AllDBICResponse
{
    protected $token = '';

    protected $tokenExpire = '';

    public function printerInit(): Response
    {
        $this->token = $this->get('token');
        $this->tokenExpire = $this->get('tokenExpire');

        return $this;
    }

    public function getToken(): string
    {
        return $this->token;
    }

    public function getTokenExpire(): string
    {
        return $this->tokenExpire;
    }
}